package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ClassificationOfCulture;

/**
 * 养殖种类分类Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public interface ClassificationOfCultureMapper 
{
    /**
     * 查询养殖种类分类
     * 
     * @param id 养殖种类分类主键
     * @return 养殖种类分类
     */
    public ClassificationOfCulture selectClassificationOfCultureById(Long id);

    /**
     * 查询养殖种类分类列表
     * 
     * @param classificationOfCulture 养殖种类分类
     * @return 养殖种类分类集合
     */
    public List<ClassificationOfCulture> selectClassificationOfCultureList(ClassificationOfCulture classificationOfCulture);

    /**
     * 新增养殖种类分类
     * 
     * @param classificationOfCulture 养殖种类分类
     * @return 结果
     */
    public int insertClassificationOfCulture(ClassificationOfCulture classificationOfCulture);

    /**
     * 修改养殖种类分类
     * 
     * @param classificationOfCulture 养殖种类分类
     * @return 结果
     */
    public int updateClassificationOfCulture(ClassificationOfCulture classificationOfCulture);

    /**
     * 删除养殖种类分类
     * 
     * @param id 养殖种类分类主键
     * @return 结果
     */
    public int deleteClassificationOfCultureById(Long id);

    /**
     * 批量删除养殖种类分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteClassificationOfCultureByIds(Long[] ids);
}
